const fs = require("fs");
const path = require("path");

let filePath = path.join(__dirname , "test.txt");
fs.writeFileSync(filePath , "dchsidwnaslnzxk");